package com.gtt.pattern.structural.decorator;

/**
 * Client
 * 
 * @author 高甜甜(gao12581@sina.com)
 * @date 2011-3-31
 * 
 */
public class Client {

	public static void main(String[] args) {
		ConcreteComponent component = new ConcreteComponent(
				"This is a real component");
		ConcreteDecorator decorator = new ConcreteDecorator(
				"This is a decorator for the component");
		decorator.setComponent(component);
		decorator.draw();
	}
}
